package foblogan.it.user.business.impl;

import foblogan.it.common.integration.RoleDAOFactory;
import foblogan.it.ejb.session.common.FobloganException;
import foblogan.it.ejb.model.Role;
import foblogan.it.user.business.RoleService;
import foblogan.it.user.integration.RoleDAO;

public class DAORoleService implements RoleService {
	
	private RoleDAO dao;
	
	public DAORoleService() {
		dao = RoleDAOFactory.getIstance().getRoleDAO();
	}

	public Role getRole(String name) throws FobloganException {
		return dao.getRole(name);
	}
	
	pippo
}
